41- Project Algorithm for student-management-system(Important)
Image 1 - Project Algorithm Image
This is how this project works :
1- Browser recieves the request from user
USER (client) ---> BROWSER
2- This request from browser handled by Controller
BROWSER --> CONTROLLER
3- Controller sends the requests to Service layer(to handle business logic)
CONTROLLER --> SERVICE
4- Service Layer sends requests to Repository Layer to perform CRUD(Create,Read,Update and Delete) operations.
SERVICE --> REPOSITORY
5- Repository Layer sends requests to Database(in this project MySQL) which stores and filters data.
REPOSITORY --> Database(MySQL)
6- Then all of this is send back to Controller layer via same path.
Database(MySQL) --> REPOSITORY --> SERVICE --> CONTROLLER
NOTE :This is the part where concept of thymeleaf comes into play
7- Controller with the help of model and view sends these requests to thymeleaf template.
CONTROLLER --> Thymeleaf Template
8- Thymeleaf Template is processed by its engine and you can see your requests performed on your browser
Thymeleaf Template --> BROWSER
Comments
Post a Comment